package com.zhz.demothymeleaf.service;

import com.zhz.demothymeleaf.entity.User;

import java.util.List;

public interface UserService {
    public User login(String name,String password);

    public List<User> getUserList();

    public boolean addUser(User user);

    public boolean updateUser(User user);

    public boolean deleteUser(Long id);

    public User getUser(Long id);
}
